package cn.duxiaod.demo.proxy.staticproxy;

import org.junit.Test;

public class ProxyTest {

    /**
     * 静态代理测试
     */
    @Test
    public void staticProxy(){
        SmsService smsService = new SmsServiceImpl();
        SmsServiceProxy smsServiceProxy = new SmsServiceProxy(smsService);
        smsServiceProxy.send("hello java!");
    }
}
